package com.openroom.model;

import java.util.Date;

public class Catalog {
    private Long catalogId;
    private Integer catalogYear;
    private Integer catalogMonth;
    private Integer catalogDate;
    private int lastRating;

    public Catalog() {
    }

    public Catalog(Date date) {
        this.catalogYear = date.getYear();
        this.catalogMonth = date.getMonth();
        this.catalogDate = date.getDate();
    }

    public Long getCatalogId() {
        return catalogId;
    }

    public void setCatalogId(Long catalogId) {
        this.catalogId = catalogId;
    }

    public Integer getCatalogYear() {
        return catalogYear;
    }

    public void setCatalogYear(Integer catalogYear) {
        this.catalogYear = catalogYear;
    }

    public Integer getCatalogMonth() {
        return catalogMonth;
    }

    public void setCatalogMonth(Integer catalogMonth) {
        this.catalogMonth = catalogMonth;
    }

    public Integer getCatalogDate() {
        return catalogDate;
    }

    public void setCatalogDate(Integer catalogDate) {
        this.catalogDate = catalogDate;
    }

    public int getLastRating() {
        return lastRating;
    }

    public void setLastRating(int lastRating) {
        this.lastRating = lastRating;
    }

}
